<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
  <div id="app">
<%--        <h1>{{msg}}</h1>--%>
  </div>
  <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script type="module" >
  /*import {createApp} from 'https://unpkg.com/vue@3/dist/vue.esm-browser.js';

  createApp({
    data(){
      return{
          msg:'hello vue'
      }
    }
  }).mount("#app");*/


  axios({
      method:"GET",
      url:"http://localhost:8887/user/queryUser"
  }).then(result=>{
      //成功的回调
      console.log(result.data);
      // this.users = result.data;
  }).catch(error=>{
      //失败的回调

  });
</script>
</body>
</html>